package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.TibitableDao;
import com.bootdo.system.domain.TibitableDO;
import com.bootdo.system.service.TibitableService;



@Service
public class TibitableServiceImpl implements TibitableService {
	@Autowired
	private TibitableDao tibitableDao;
	
	@Override
	public TibitableDO get(Long id){
		return tibitableDao.get(id);
	}
	
	@Override
	public List<TibitableDO> list(Map<String, Object> map){
		return tibitableDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return tibitableDao.count(map);
	}
	
	@Override
	public int save(TibitableDO tibitable){
		return tibitableDao.save(tibitable);
	}
	
	@Override
	public int update(TibitableDO tibitable){
		return tibitableDao.update(tibitable);
	}
	
	@Override
	public int remove(Long id){
		return tibitableDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return tibitableDao.batchRemove(ids);
	}
	
}
